package com.cli.apisdk.spi;

import com.cli.apisdk.checkpoint.model.DeviceMetaData;
import com.cli.apisdk.model.ResourceType;

import java.util.List;

/**
 * @author: xiongmin
 * @since create by 2022/7/22 17:29
 */
public interface GenerateUrlService {

    /**
     * 厂商名
     * @return
     */
    String getVendor();

    /**
     * 型号名
     * @return
     */
    default String getType() {
        return null;
    }

    /**
     * 生成对应资源类型需要请求的API Url
     * @param resourceType
     * @return
     */
    List<String> generateUrls(DeviceMetaData deviceMetaData, ResourceType resourceType);
}
